package com.zmn.oms.third.youshu.service;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.entity.work.OrderWorkLogChange;

/**
 * 类描述：腾讯有数对接接口定义
 *
 * @author ligang
 * @date 2022/03/21 16:53
 */
public interface YouShuService {

    /**
     * 同步接单信息到腾讯有数
     *
     * @param orderId
     * @param workId
     * @return
     */
    void sendAddOrder(Long orderId, Long workId) throws OmsBaseException;

    /**
     * 同步订单状态信息到腾讯有数
     *
     * @param orderId
     * @param workId
     * @return
     */
    void sendOrderStatus(Long orderId, Long workId) throws OmsBaseException;

    /**
     * 同步订单汇总信息到腾讯有数
     *
     * @return
     */
    void sendSumOrder() throws OmsBaseException;
}
